﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HardMobCommons.Entidades;

namespace HardMobCommons
{
	public class UsuarioHmIdComparer : IEqualityComparer<Usuario>
	{
		public bool Equals(Usuario x, Usuario y)
		{
			return x.HmId == y.HmId;
		}

		public int GetHashCode(Usuario obj)
		{
			return obj.HmId.GetHashCode();
		}
	}
}
